const mysql = require("mysql");
const conn = mysql.createConnection({
    host: "localhost",
    port: "3306",
    user: "root",
    password: "root",
    database: "user",
});
conn.connect();
let sql = "select *from student where id>?";
conn.query(sql, 1, (err, result) => {
    if (err) return console.log(err);
    console.log(result);
});